package com.promise.jokerdream.work.manager

import com.promise.jokerdream.work.BaseWorkManager

/**
 * 背包物品工作管理器
 * 专门负责执行锦囊等背包物品相关的任务
 */
class BagGoodsWorkManager : BaseWorkManager() {

    companion object {
        @Volatile
        private var INSTANCE: BagGoodsWorkManager? = null

        /**
         * 获取BagGoodsWorkManager单例
         */
        fun getInstance(): BagGoodsWorkManager {
            return INSTANCE ?: synchronized(this) {
                INSTANCE ?: BagGoodsWorkManager().also { INSTANCE = it }
            }
        }
    }

    override fun getManagerName(): String {
        return "背包"
    }
}